package com.bondar.interfaces;

public interface MyStack
{
    /**
     * This method add element to stack
     * @param element
     */
    public void push (Object element);
    
    /**
     * This method get element from stack
     * @return element from stack.<br>
     * If stack is empty throw {@link NullPointerException} 
     */
    public Object pop ();
}
